package com.zjw.mybatis.dao;

import com.zjw.mybatis.model.Classroom;

public interface IClassroomDao {

	/**
	 * 简单查询，不包含Classroom对象的关联对象Students
	 * @param id
	 * @return
	 */
	public Classroom loadOne(long id);
	
	/**
	 * 把Classroom关联的所有Student对象也查上来
	 * @param id
	 * @return
	 */
	public Classroom loadAll(long id);
}
